package com.infinite.mapper;

import com.infinite.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Collection;

@Mapper
@Repository
public interface EmployeeMapper {
    void add(Employee employee);
    Collection<Employee> getAllEmployee();
    Employee getEmployeeById(Integer id);
    void deleteEmployeeById(Integer id);

    void update(Employee employee);
}
